package com.zhh.dao;

import com.zhh.pojo.TbMedicine;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

public interface MedicineDao extends JpaRepository<TbMedicine,Integer> {

    TbMedicine findBySelfcode(@Param("selfcode") String selfcode);

}
